﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ComputerizedRehabForms
{
    static class DataManager
    {
        enum Tests { BASIC, MULTI, BELLS };
        static int choice;
        static IntroForm i_form = new IntroForm();
        static LoginForm l_form = new LoginForm();
        static BLBResultsForm blb_r_form = new BLBResultsForm();
        static BLBTestForm blb_t_form = new BLBTestForm();
        static MLBResultsForm mlb_r_form = new MLBResultsForm();
        static MLBTestForm mlb_t_form = new MLBTestForm();
        static CLBResultsForm clb_r_form = new CLBResultsForm();
        static CLBTestForm clb_t_form = new CLBTestForm();
        static ExitForm e_form = new ExitForm();
        static BellsTestDisplay bt_form = new BellsTestDisplay();
        static BellsResultsForm btr_form = new BellsResultsForm();

        public static void setFormType(int type) {
            choice = type;
        }

        public static int getFormType()
        {
            return choice;
        }

        public static void showIntro()
        {
            i_form.Show();
        }

        public static void showBLBTest()
        {
            blb_t_form.Show();
        }

        public static void showMLBTest()
        {
            mlb_t_form.Show();
        }

        public static void showCLBTest()
        {
            clb_t_form.Show();
        }

        public static void showBLBResults()
        {
            blb_r_form.Show();
        }

        public static void showMLBResults()
        {
            mlb_r_form.Show();
        }

        public static void showCLBResults()
        {
            clb_r_form.Show();
        }

        public static void showLogin()
        {
            l_form.Show();
        }

        public static void showExit()
        {
            e_form.Show();
        }

        public static void showBellsTest()
        {
            bt_form.Show();
        }

        public static void showBellsTestResults()
        {
            btr_form.Show();
        }

        public static void shideIntro()
        {
            i_form.Hide();
        }

        public static void hideBLBTest()
        {
            blb_t_form.Hide();
        }

        public static void hideMLBTest()
        {
            mlb_t_form.Hide();
        }

        public static void hideCLBTest()
        {
            clb_t_form.Hide();
        }

        public static void hideBLBResults()
        {
            blb_r_form.Hide();
        }

        public static void hideMLBResults()
        {
            mlb_r_form.Hide();
        }

        public static void hideCLBResults()
        {
            clb_r_form.Hide();
        }

        public static void hideLogin()
        {
            l_form.Hide();
        }

        public static void hideExit()
        {
            e_form.Hide();
        }

        public static void hideBellsTest()
        {
            bt_form.Hide();
        }

        public static void hideBellsTestResults()
        {
            btr_form.Hide();
        }
    }
}
